<div class="m-container" ng-controller="agencyController">
    <div  class="wh100 m-agency dfc aic jsc">
        <div class="logo"><img src="./common/img/user/logo.png"></div>
        <div class="agentContent w100 dfc aic">
            <div class="inputCtrl">
                <!--<div class="focusIcon"></div>-->
                <input type="text " class="input_normal agentInput wh100" ng-model="telephone" placeholder="请输入手机号" ng-disabled="user.telephone" maxlength="11"></div>
            <div class="inputCtrl pr" ng-controller="SendCodeController as vm">
                <!--<div class="focusIcon"></div>-->
                <input type="text"  class="input_normal agentInput wh100" ng-model="$parent.code2" placeholder="请输入您的验证码">
                <button  class="codeBtn f12" ng-click="vm.sendCode(telephone,'register')" ng-disabled="tagStatus || !telephone " >{{sendText}}</button>
            </div>
            <div class="inputCtrl dfr aic" ng-hide="inviterUserId || identityTo==0">
                <!--<div class="focusIcon"></div>-->
                <input type="text" class="input_normal agentInput wh100" ng-model="code" placeholder="请输入邀请码" ></div>
            <div class="inputCtrl dfr aic" ng-show=" identityTo==0">
                <!--<div class="focusIcon"></div>-->
                <input type="text" class="input_normal agentInput wh100" ng-model="username" placeholder="请输入您的姓名"> </div>
        </div>
        <p class="agreenment dfr" ><span class="agree {{agree?'active':''}}" ng-click="agree = !agree"></span>我已阅读并同意<a class="cmain aNormal" open-detail
            template="components/user/agency/disclaimer.html">《使用协议》</a></p>
        <button ng-click="apply()" class="btnN" ng-disabled="!agree">注册</button>
    </div>
    <!-- <div ng-include="'components/user/agency/agency.html'" ng-show=""></div> -->
</div>